package application.dispatcher;

import java.io.IOException;

import javax.servlet.ServletException;


public class LogoutDispatcher extends Dispatcher{


	public void execute() throws ServletException, IOException {
		
		myRequest.getSession().invalidate();
		myRequest.setAttribute("msg", "You have successfully logged out");
		forward("/WEB-INF/JSP/home.jsp");
	}

	
	
	
}
